package com.line.model.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class PrincipalPojo {
	private String grantType;

	private String accessToken;

	@JsonInclude(Include.NON_NULL)
	private String appid;

	@JsonInclude(Include.NON_NULL)
	private String secret;

	@JsonInclude(Include.NON_NULL)
	private Integer accessTokenExpires;

	@JsonInclude(Include.NON_NULL)
	private Integer refreshTokenExpires;

	private String ipWhite;// IP白名单

	@JsonInclude(Include.NON_NULL)
	private Long userId;

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public Integer getAccessTokenExpires() {
		return accessTokenExpires;
	}

	public void setAccessTokenExpires(Integer accessTokenExpires) {
		this.accessTokenExpires = accessTokenExpires;
	}

	public Integer getRefreshTokenExpires() {
		return refreshTokenExpires;
	}

	public void setRefreshTokenExpires(Integer refreshTokenExpires) {
		this.refreshTokenExpires = refreshTokenExpires;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getIpWhite() {
		return ipWhite;
	}

	public void setIpWhite(String ipWhite) {
		this.ipWhite = ipWhite;
	}
}
